import request from '@/utils/request'

// 查询劳动收入列表
export function listDo1(query) {
  return request({
    url: '/system/do1/list',
    method: 'get',
    params: query
  })
}

// 查询劳动收入详细
export function getDo1(doId) {
  return request({
    url: '/system/do1/' + doId,
    method: 'get'
  })
}

// 新增劳动收入
export function addDo1(data) {
  return request({
    url: '/system/do1',
    method: 'post',
    data: data
  })
}

// 修改劳动收入
export function updateDo1(data) {
  return request({
    url: '/system/do1',
    method: 'put',
    data: data
  })
}

// 删除劳动收入
export function delDo1(doId) {
  return request({
    url: '/system/do1/' + doId,
    method: 'delete'
  })
}

// 导出劳动收入
export function exportDo1(query) {
  return request({
    url: '/system/do1/export',
    method: 'get',
    params: query
  })
}